package com.zxx.admin.entity.pms;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zxx.admin.config.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
/**
 * @Description: 产品分类 实体
 * @author: zhuangxx
 * @date 2020-06-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pms_product_category")
@ApiModel(value = "PmsProductCategoryEntity对象", description = "产品分类")
public class PmsProductCategoryEntity extends BaseEntity{

    private static final long serialVersionUID=1L;


        @ApiModelProperty(value = "上机分类的编号：0表示一级分类", example = "上机分类的编号：0表示一级分类")
        private Long parentId;

        private String name;

        @ApiModelProperty(value = "分类级别：0->1级；1->2级", example = "分类级别：0->1级；1->2级")
        private Integer level;

        private Integer productCount;

        private String productUnit;

        @ApiModelProperty(value = "是否显示在导航栏：0->不显示；1->显示", example = "是否显示在导航栏：0->不显示；1->显示")
        private Integer navStatus;

        @ApiModelProperty(value = "显示状态：0->不显示；1->显示", example = "显示状态：0->不显示；1->显示")
        private Integer showStatus;

        @ApiModelProperty(value = "是否是首页分类0-->不是，1-->是", example = "是否是首页分类0-->不是，1-->是")
        private Integer indexStatus;

        @ApiModelProperty(value = "图标", example = "图标")
        private String icon;

        private String keywords;

        @ApiModelProperty(value = "描述", example = "描述")
        private String description;

        @ApiModelProperty(value = "所属店铺", example = "所属店铺")
        private Integer storeId;

}
